window.onload = function(){    
    //点击更新验证码
    document.getElementById('getCode').onclick = function(){
        var rand=Math.random();
        this.setAttribute('src', APP+'/login/getCode/'+rand);
    }
}

